<!DOCTYPE html>
<html lang="{{ str_replace('_', '-', app()->getLocale()) }}">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
    <meta name="author" content="order by dede58.com/"/>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="keywords" content="{{$config->word}}">
    <meta name="renderer" content="{{$config->title}}">
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport"
          content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no"/>
    <!-- CSRF Token -->
    <meta name="csrf-token" content="{{ csrf_token() }}">
    <meta http-equiv="Cache-Control" content="no-siteapp"/>
    <meta name="description" id="description" content="{{$config->riptive}}">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="icon" type="image/png" id="icon"
          href="@if(isset($config->file->url)){{assetImage($config->file->url)}}@endif">
    <link rel="apple-touch-icon-precomposed" id="icons"
          href="@if(isset($config->file->url)){{assetImage($config->file->url)}}@endif">
    <title id="title">{{ config('app.name', 'Laravel') }}</title>
    <link rel="stylesheet" type="text/css" href="{{asset('static/admin/layui/css/layui.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{asset('static/admin/css/admin.css')}}"/>
    <link rel="stylesheet" type="text/css" href="{{asset('static/flip/jquery.flip.css')}}"/>
    <link rel="stylesheet" href="{{asset('static/font-icon/css/font-awesome.min.css')}}">
    @yield('css')
</head>
<body class="layui-layout-body">
<div class="main-layout" id='main-layout'>
@include('layouts._nav')
<!--侧边栏-->
    <!--右侧内容-->
    <div class="main-layout-container">
    @include('layouts._header')
    <!--主体内容-->
        <div class="main-layout-body">
            <!--tab 切换-->
            <div class="layui-tab layui-tab-brief main-layout-tab" lay-filter="tab" lay-allowClose="true">
                <ul class="layui-tab-title">
                    <li class="layui-this welcome"><i class="fa fa-dashboard"></i><span>&nbsp;&nbsp;</span>后台主页</li>
                </ul>
                <div class="layui-tab-content">
                    <div class="layui-tab-item layui-show" style="background: #f5f5f5;">
                        @yield('content')
                    </div>
                </div>
            </div>
        </div>
    </div>
    <!--遮罩-->
    <div class="main-mask">

    </div>
</div>
<script src="{{asset('static/admin/layui/layui.js')}}" type="text/javascript" charset="utf-8"></script>
<script src="{{asset('js/jquery.min.js')}}" type="text/javascript" charset="utf-8"></script>
<script src="{{asset('static/admin/js/common.js')}}" type="text/javascript" charset="utf-8"></script>
<script src="{{asset('static/admin/js/main.js')}}" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" src="{{asset('static/flip/jquery.flip.js')}}"></script>
@yield('js')
<script>
    $(function () {

        $('#retroclockbox1').flipcountdown();

    })
</script>
</body>
</html>

